#ifndef _SHELL_ACTIVITYGOODS_BEAN_H_
#define _SHELL_ACTIVITYGOODS_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class ActivityGoods : public Bean
{
	public:
	ActivityGoods();
	~ActivityGoods();
	void reset();
	ActivityGoods* clone();
	//物品唯一标示
	int32 sid;
	//物品名称
	string goodName;
	//全服剩余购买次数
	int32 serverCount;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
